<template>
	<view class="icon iconfont" :class="[sex == 0 ? 'icon-nan' : 'icon-nv']">{{age}}</view>
</template>

<script>
	export default {
		props: {
			sex: {
				type: Number
			},
			age: {
				type: Number
			}
		}
	}
</script>

<style scoped>
	.icon-nv, .icon-nan {
		display: inline-block;
		border-radius: 30rpx;
		padding: 0 14rpx;
		font-size: 23rpx;
		color: #FFFFFF;
		background-color: #36A9FF;
		margin-left: 10rpx;
	}
	.icon-nv {
		background-color: #FF698D !important;
	}
</style>
